| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

PrimitiveTopology.h
1 // PrimitiveTopology.h
3 //
5
6 namespace nkGraphics
7 {
13 enum class PRIMITIVE_TOPOLOGY
14 {
15 PRIMITIVE_TOPOLOGY_UNDEFINED = 0,
16 POINTLIST = 1,
17 LINELIST = 2,
18 LINESTRIP = 3,
19 TRIANGLELIST = 4,
20 TRIANGLESTRIP = 5,
21 LINELIST_ADJ = 10,
22 LINESTRIP_ADJ = 11,
23 TRIANGLELIST_ADJ = 12,
24 TRIANGLESTRIP_ADJ = 13,
25 PATCHLIST_1_CONTROL_POINT = 33,
26 PATCHLIST_2_CONTROL_POINT = 34,
27 PATCHLIST_3_CONTROL_POINT = 35,
28 PATCHLIST_4_CONTROL_POINT = 36,
29 PATCHLIST_5_CONTROL_POINT = 37,
30 PATCHLIST_6_CONTROL_POINT = 38,
31 PATCHLIST_7_CONTROL_POINT = 39,
32 PATCHLIST_8_CONTROL_POINT = 40,
33 PATCHLIST_9_CONTROL_POINT = 41,
34 PATCHLIST_10_CONTROL_POINT = 42,
35 PATCHLIST_11_CONTROL_POINT = 43,
36 PATCHLIST_12_CONTROL_POINT = 44,
37 PATCHLIST_13_CONTROL_POINT = 45,
38 PATCHLIST_14_CONTROL_POINT = 46,
39 PATCHLIST_15_CONTROL_POINT = 47,
40 PATCHLIST_16_CONTROL_POINT = 48,
41 PATCHLIST_17_CONTROL_POINT = 49,
42 PATCHLIST_18_CONTROL_POINT = 50,
43 PATCHLIST_19_CONTROL_POINT = 51,
44 PATCHLIST_20_CONTROL_POINT = 52,
45 PATCHLIST_21_CONTROL_POINT = 53,
46 PATCHLIST_22_CONTROL_POINT = 54,
47 PATCHLIST_23_CONTROL_POINT = 55,
48 PATCHLIST_24_CONTROL_POINT = 56,
49 PATCHLIST_25_CONTROL_POINT = 57,
50 PATCHLIST_26_CONTROL_POINT = 58,
51 PATCHLIST_27_CONTROL_POINT = 59,
52 PATCHLIST_28_CONTROL_POINT = 60,
53 PATCHLIST_29_CONTROL_POINT = 61,
54 PATCHLIST_30_CONTROL_POINT = 62,
55 PATCHLIST_31_CONTROL_POINT = 63,
56 PATCHLIST_32_CONTROL_POINT = 64
57 } ;
58
62 class PrimitiveTopologyUtils final
63 {
64 public :
65
66 // Conversions
74 static nkMemory::StringView toString (PRIMITIVE_TOPOLOGY value) ;
75 } ;
76 }
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_29_CONTROL_POINT
@ PATCHLIST_29_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_7_CONTROL_POINT
@ PATCHLIST_7_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_28_CONTROL_POINT
@ PATCHLIST_28_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_20_CONTROL_POINT
@ PATCHLIST_20_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_18_CONTROL_POINT
@ PATCHLIST_18_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_32_CONTROL_POINT
@ PATCHLIST_32_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_8_CONTROL_POINT
@ PATCHLIST_8_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::POINTLIST
@ POINTLIST
Point list.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_14_CONTROL_POINT
@ PATCHLIST_14_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_27_CONTROL_POINT
@ PATCHLIST_27_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::LINESTRIP
@ LINESTRIP
Line strip.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_9_CONTROL_POINT
@ PATCHLIST_9_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::LINELIST
@ LINELIST
Line list.
nkGraphics::PRIMITIVE_TOPOLOGY::TRIANGLESTRIP_ADJ
@ TRIANGLESTRIP_ADJ
Triangle strip adjacency.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_6_CONTROL_POINT
@ PATCHLIST_6_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_15_CONTROL_POINT
@ PATCHLIST_15_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_22_CONTROL_POINT
@ PATCHLIST_22_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::TRIANGLELIST_ADJ
@ TRIANGLELIST_ADJ
Triangle list adjacency.
nkGraphics::PRIMITIVE_TOPOLOGY
PRIMITIVE_TOPOLOGY
Enumerates all primitive topologies supported for meshes.
Definition: PrimitiveTopology.h:14
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_13_CONTROL_POINT
@ PATCHLIST_13_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_12_CONTROL_POINT
@ PATCHLIST_12_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::LINELIST_ADJ
@ LINELIST_ADJ
Line list adjacency.
nkGraphics::PrimitiveTopologyUtils::toString
static nkMemory::StringView toString(PRIMITIVE_TOPOLOGY value)
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_24_CONTROL_POINT
@ PATCHLIST_24_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_5_CONTROL_POINT
@ PATCHLIST_5_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_10_CONTROL_POINT
@ PATCHLIST_10_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::LINESTRIP_ADJ
@ LINESTRIP_ADJ
Line strip adjacency.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_3_CONTROL_POINT
@ PATCHLIST_3_CONTROL_POINT
Patchlist.
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_2_CONTROL_POINT
@ PATCHLIST_2_CONTROL_POINT
Patchlist.
nkGraphics::PrimitiveTopologyUtils
Offers utility to work with the associated enumeration.
Definition: PrimitiveTopology.h:63
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_25_CONTROL_POINT
@ PATCHLIST_25_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_26_CONTROL_POINT
@ PATCHLIST_26_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_23_CONTROL_POINT
@ PATCHLIST_23_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_30_CONTROL_POINT
@ PATCHLIST_30_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_4_CONTROL_POINT
@ PATCHLIST_4_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_17_CONTROL_POINT
@ PATCHLIST_17_CONTROL_POINT
Patchlist.
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_19_CONTROL_POINT
@ PATCHLIST_19_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PRIMITIVE_TOPOLOGY_UNDEFINED
@ PRIMITIVE_TOPOLOGY_UNDEFINED
Unknown placeholder.
nkGraphics::PRIMITIVE_TOPOLOGY::TRIANGLESTRIP
@ TRIANGLESTRIP
Triangle strip.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_21_CONTROL_POINT
@ PATCHLIST_21_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_1_CONTROL_POINT
@ PATCHLIST_1_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_11_CONTROL_POINT
@ PATCHLIST_11_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::TRIANGLELIST
@ TRIANGLELIST
Triangle list.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_16_CONTROL_POINT
@ PATCHLIST_16_CONTROL_POINT
Patchlist.
nkGraphics::PRIMITIVE_TOPOLOGY::PATCHLIST_31_CONTROL_POINT
@ PATCHLIST_31_CONTROL_POINT
Patchlist.